gpsbabel.git
22 years agoRon Parker's Nav Companion takes 20 character shortnames. Adjusted call
robertl [Tue, 10 Jun 2003 16:02:30 +0000 (16:02 +0000)]
Ron Parker's Nav Companion takes 20 character shortnames.   Adjusted call
to setshortlen.

22 years agoDelete bogus inclusion of <sys/time.h>.
robertl [Wed, 4 Jun 2003 23:24:26 +0000 (23:24 +0000)]
Delete bogus inclusion of <sys/time.h>.

22 years agoAdd README.
robertl [Wed, 4 Jun 2003 17:36:33 +0000 (17:36 +0000)]
Add README.

22 years agoInitial checkin of magxfer.
robertl [Wed, 4 Jun 2003 17:25:07 +0000 (17:25 +0000)]
Initial checkin of magxfer.

22 years agoDon't strip exteriour quotes from fields. From Mottram.
robertl [Tue, 3 Jun 2003 20:50:05 +0000 (20:50 +0000)]
Don't strip exteriour quotes from fields.   From Mottram.

22 years agoMake rtrim work sensibly when passed null pointers or pointers to empty
robertl [Tue, 3 Jun 2003 18:14:29 +0000 (18:14 +0000)]
Make rtrim work sensibly when passed null pointers or pointers to empty
strings.

22 years agoAvoide GNU C extension of math on a void pointer.
robertl [Tue, 3 Jun 2003 17:29:31 +0000 (17:29 +0000)]
Avoide GNU C extension of math on a void pointer.

22 years agoDon't free description twice when prefer_shortnames. From Ron.
robertl [Tue, 27 May 2003 15:22:21 +0000 (15:22 +0000)]
Don't free description twice when prefer_shortnames.   From Ron.

22 years agoDon't use C99/C++ comments.
robertl [Thu, 22 May 2003 21:50:56 +0000 (21:50 +0000)]
Don't use C99/C++ comments.

22 years agoFix read of PCX. Commonize mag2degrees. From Ian Mahuron.
robertl [Thu, 22 May 2003 21:47:11 +0000 (21:47 +0000)]
Fix read of PCX.   Commonize mag2degrees.  From Ian Mahuron.

22 years agoFix parsing of blank PCX description fields; Ian Mahuron & myself.
robertl [Thu, 22 May 2003 14:45:39 +0000 (14:45 +0000)]
Fix parsing of blank PCX description fields; Ian Mahuron & myself.
Fix indention.

22 years agoAdd prefer_shortnames back in.
robertl [Thu, 22 May 2003 04:08:35 +0000 (04:08 +0000)]
Add prefer_shortnames back in.

22 years agoA variety of icon fixes for Mapsource, Mapsend, and PCX from Ian Mahuron.
robertl [Wed, 21 May 2003 20:03:32 +0000 (20:03 +0000)]
A variety of icon fixes for Mapsource, Mapsend, and PCX from Ian Mahuron.

22 years agoAdd 'waypoint' back to table. Thanx Ian!
robertl [Wed, 21 May 2003 15:12:15 +0000 (15:12 +0000)]
Add 'waypoint' back to table.   Thanx Ian!

22 years agoAdd scaling and centering code to tiger output. Make output of description
robertl [Wed, 21 May 2003 14:55:08 +0000 (14:55 +0000)]
Add scaling and centering code to tiger output.   Make output of description
optional.

22 years agoDon't clobber output vector if nothing was present on command line.
robertl [Wed, 21 May 2003 14:31:48 +0000 (14:31 +0000)]
Don't clobber output vector if nothing was present on command line.

22 years agoFix Icon mappings for Mapsource. From ian at mahuron.org.
robertl [Wed, 21 May 2003 02:18:07 +0000 (02:18 +0000)]
Fix Icon mappings for Mapsource.   From ian at mahuron.org.

22 years agoDon't call mkshort twice for ANYNAME. Fix for Rick.
robertl [Wed, 21 May 2003 02:14:49 +0000 (02:14 +0000)]
Don't call mkshort twice for ANYNAME.  Fix for Rick.

22 years agoRick Richardson wrote:
robertl [Sat, 17 May 2003 19:30:21 +0000 (19:30 +0000)]
Rick Richardson wrote:

> This patch adds..
>
>     - fix for Makefile
>     - Teach geo.c how to read the <type> and stick it in icon_descr.
>       N.B. not sure I did this 100% right
>     - Teach gpsdrive.style how to output icon_descr as the "category".

22 years agoAdd EasyGPS binary format based on info from Eric Cloninger.
robertl [Wed, 14 May 2003 22:40:27 +0000 (22:40 +0000)]
Add EasyGPS binary format based on info from Eric Cloninger.

22 years agoAdd EasyGPS binary format based on info from Eric Cloninger.
robertl [Wed, 14 May 2003 18:50:27 +0000 (18:50 +0000)]
Add EasyGPS binary format based on info from Eric Cloninger.

22 years agoFix readme and add radius.csv. From Mottram.
robertl [Fri, 9 May 2003 21:11:36 +0000 (21:11 +0000)]
Fix readme and add radius.csv.   From Mottram.

22 years agoFix curl upload syntx.
robertl [Fri, 9 May 2003 21:00:44 +0000 (21:00 +0000)]
Fix curl upload syntx.

22 years agoFix release process.
robertl [Wed, 7 May 2003 14:25:22 +0000 (14:25 +0000)]
Fix release process.

22 years agoTweak internal_styles.c timestamp in release build.
robertl [Wed, 7 May 2003 14:16:18 +0000 (14:16 +0000)]
Tweak internal_styles.c timestamp in release build.

22 years agoRevert last change. Alex says 4.06 firmware fixed that.
robertl [Wed, 7 May 2003 13:58:37 +0000 (13:58 +0000)]
Revert last change.   Alex says 4.06 firmware fixed that.

22 years agoAdd versioning to display_vecs for future improvements.
robertl [Wed, 7 May 2003 13:56:13 +0000 (13:56 +0000)]
Add versioning to display_vecs for future improvements.

22 years agoAdd urlbase to GPX.
robertl [Wed, 7 May 2003 02:31:44 +0000 (02:31 +0000)]
Add urlbase to GPX.

22 years agoFix exported date. From Ron via Jason Slagel.
robertl [Wed, 7 May 2003 01:22:10 +0000 (01:22 +0000)]
Fix exported date.   From Ron via Jason Slagel.

22 years agoShorten WPT line to make it less likely to trigger bug in Meridian flash
robertl [Tue, 6 May 2003 22:11:14 +0000 (22:11 +0000)]
Shorten WPT line to make it less likely to trigger bug in Meridian flash
file parsing in the firmware of the unit.

22 years agoRm *.d's in subdirs, too.
robertl [Tue, 29 Apr 2003 17:14:24 +0000 (17:14 +0000)]
Rm *.d's in subdirs, too.

22 years agoAdd proto to last change from Michael W Peterson (mwpeters)
robertl [Mon, 28 Apr 2003 15:17:33 +0000 (15:17 +0000)]
Add proto to last change from Michael W Peterson (mwpeters)

22 years agoAdd Garmin icon mappings.
robertl [Mon, 28 Apr 2003 14:58:27 +0000 (14:58 +0000)]
Add Garmin icon mappings.

22 years agoAdd position filter for radius, courtesy Alex Mottram.
robertl [Mon, 28 Apr 2003 13:45:04 +0000 (13:45 +0000)]
Add position filter for radius, courtesy Alex Mottram.

22 years agoAdd automatic dependencies for style/*
robertl [Mon, 28 Apr 2003 13:41:45 +0000 (13:41 +0000)]
Add automatic dependencies for style/*

22 years agoDont' null deref notes.
robertl [Sat, 26 Apr 2003 23:43:36 +0000 (23:43 +0000)]
Dont' null deref notes.

22 years agoCorrect typo when outputting icons in route.
robertl [Fri, 25 Apr 2003 05:02:59 +0000 (05:02 +0000)]
Correct typo when outputting icons in route.
Force resync against VERSION packet, even if (especially if) we're
just coming out of a file read.

22 years agoFix math when converting nautical miles to statue miles. From Jason Slagle
robertl [Thu, 24 Apr 2003 15:13:27 +0000 (15:13 +0000)]
Fix math when converting nautical miles to statue miles.   From Jason Slagle
and approved by Alex.

22 years agoComment on -^ for DOS.
robertl [Tue, 22 Apr 2003 22:53:43 +0000 (22:53 +0000)]
Comment on -^ for DOS.

22 years agoClean up uninitialized members in Garmin protocol.
robertl [Thu, 17 Apr 2003 22:32:42 +0000 (22:32 +0000)]
Clean up uninitialized members in Garmin protocol.

22 years agoFree more nodes on the tree when we nuke a tag. Approved by Ron.
robertl [Thu, 17 Apr 2003 05:12:11 +0000 (05:12 +0000)]
Free more nodes on the tree when we nuke a tag.   Approved by Ron.

22 years agoFree handles when done.
robertl [Thu, 17 Apr 2003 03:53:21 +0000 (03:53 +0000)]
Free handles when done.
Copy from and free jeeps structures when reading from Garmin.

22 years agoFrom Alexm. Fix mkshort uniqueness on 'anyname' and add option to suppress
robertl [Wed, 16 Apr 2003 17:27:44 +0000 (17:27 +0000)]
From Alexm.  Fix mkshort uniqueness on 'anyname' and add option to suppress
uniquification.

22 years agoFix order of time when output to let SAX2Count bless it.
robertl [Wed, 16 Apr 2003 14:24:30 +0000 (14:24 +0000)]
Fix order of time when output to let SAX2Count bless it.

23 years agoAdd current icon tables. It mystifies me why Garmin has so many different
robertl [Fri, 11 Apr 2003 17:44:09 +0000 (17:44 +0000)]
Add current icon tables.   It mystifies me why Garmin has so many different
numbers for the same tables. :-(

23 years agoAdd new Magellan models. (Gotta love a company that can keep a serial
robertl [Thu, 10 Apr 2003 03:52:02 +0000 (03:52 +0000)]
Add new Magellan models.   (Gotta love a company that can keep a serial
protocol compatible...)

23 years agoAdd urlbase to xsv format. Fix URL output when there is no URL data
robertl [Thu, 10 Apr 2003 03:47:50 +0000 (03:47 +0000)]
Add urlbase to xsv format.  Fix URL output when there is no URL data
to output.

23 years agoAllow command line arguments to xcsv-derived files.
robertl [Thu, 10 Apr 2003 03:17:13 +0000 (03:17 +0000)]
Allow command line arguments to xcsv-derived files.

23 years agoStrip quotes in S&T output.
robertl [Thu, 10 Apr 2003 01:41:15 +0000 (01:41 +0000)]
Strip quotes in S&T output.

23 years agoAdd test for Copilot. Reference file from Tomblin.
robertl [Wed, 9 Apr 2003 14:10:59 +0000 (14:10 +0000)]
Add test for Copilot.   Reference file from Tomblin.

23 years agoAdd copilot support. Courtesy Paul Tomblin.
robertl [Wed, 9 Apr 2003 13:09:36 +0000 (13:09 +0000)]
Add copilot support.   Courtesy Paul Tomblin.

23 years agoAdditional gpspilot info from Tomblin.
robertl [Mon, 7 Apr 2003 14:08:38 +0000 (14:08 +0000)]
Additional gpspilot info from Tomblin.

23 years agoAdd airport, navaid, city, and landmarks to gpspilot. Courtesy Paul Tomblin.
robertl [Sun, 6 Apr 2003 19:34:56 +0000 (19:34 +0000)]
Add airport, navaid, city, and landmarks to gpspilot.  Courtesy Paul Tomblin.

23 years agoAdd mapsource track support. Thanx, Alex!
robertl [Fri, 4 Apr 2003 22:40:39 +0000 (22:40 +0000)]
Add mapsource track support.   Thanx, Alex!

23 years agoFix gpsdrive style - 20 chars & no whitespace.
robertl [Fri, 4 Apr 2003 18:47:24 +0000 (18:47 +0000)]
Fix gpsdrive style - 20 chars & no whitespace.

23 years agoFix shortname generation.
robertl [Thu, 3 Apr 2003 17:27:38 +0000 (17:27 +0000)]
Fix shortname generation.

23 years agoTighten up word size/endianness issues.
robertl [Wed, 2 Apr 2003 17:01:02 +0000 (17:01 +0000)]
Tighten up word size/endianness issues.

23 years agoFix bounds violation. From Mottram.
robertl [Wed, 2 Apr 2003 15:37:18 +0000 (15:37 +0000)]
Fix bounds violation.   From Mottram.

23 years agoAdd route handling for magproto, mapsend, GPX. Thanx, Alex Mottram!
robertl [Tue, 1 Apr 2003 03:21:24 +0000 (03:21 +0000)]
Add route handling for magproto, mapsend, GPX.    Thanx, Alex Mottram!

23 years agoAdd magelan route examples. From P. Roosen.
robertl [Mon, 31 Mar 2003 02:43:11 +0000 (02:43 +0000)]
Add magelan route examples.   From P. Roosen.

23 years agoAdded track handling to GPX. Thanx, Alex!
robertl [Thu, 13 Mar 2003 22:33:52 +0000 (22:33 +0000)]
Added track handling to GPX.   Thanx, Alex!

23 years agoRestore tiger from v. 1.9.
robertl [Thu, 13 Mar 2003 17:46:22 +0000 (17:46 +0000)]
Restore tiger from v. 1.9.

23 years agoMake comments match current reality.
robertl [Wed, 12 Mar 2003 16:34:25 +0000 (16:34 +0000)]
Make comments match current reality.

23 years agoAdd time and date when writing magellan tracks. Add leading zeros to match
robertl [Wed, 12 Mar 2003 16:25:46 +0000 (16:25 +0000)]
Add time and date when writing magellan tracks.  Add leading zeros to match
the SD output.

23 years agoAdd xmapwpt.style back in. Exclude custom stye. Thanx, Alex Mottram!
robertl [Sat, 8 Mar 2003 22:51:32 +0000 (22:51 +0000)]
Add xmapwpt.style back in.   Exclude custom stye.   Thanx, Alex Mottram!

23 years agoRever tiger back to C version. It isn't *really* a CSV after all.
robertl [Sat, 8 Mar 2003 05:31:20 +0000 (05:31 +0000)]
Rever tiger back to C version.  It isn't *really* a CSV after all.

23 years agoAllow escaping of comment char.
robertl [Sat, 8 Mar 2003 03:43:55 +0000 (03:43 +0000)]
Allow escaping of comment char.

23 years agoFix typo in restaurant.
robertl [Fri, 7 Mar 2003 19:15:29 +0000 (19:15 +0000)]
Fix typo in restaurant.
Fix mappings for icon #'s > 'z'.  Thanx, Vito.

23 years agoZero field counter between records. Cures bounds violation when more
robertl [Fri, 7 Mar 2003 06:13:09 +0000 (06:13 +0000)]
Zero field counter between records.   Cures bounds violation when more
than about 50 records are shot in.

23 years agoTypo fix.
robertl [Tue, 4 Mar 2003 17:39:53 +0000 (17:39 +0000)]
Typo fix.

23 years agoAdd leak tools from Parker.
robertl [Tue, 4 Mar 2003 17:38:53 +0000 (17:38 +0000)]
Add leak tools from Parker.

23 years agoFrom Mottram:
robertl [Tue, 4 Mar 2003 17:35:50 +0000 (17:35 +0000)]
From Mottram:

pulls xmapwpt format into xcsv internal styles
fixes mkshort usage in xcsv
resolves memory issues with xcsv
updates a few style files and documentation for mkshort parameters

From Parker:

leaks/{clear,mem}debug scripts; callable from 'make leaktest'

CVSm ----------------------------------------------------------------------

23 years agoAdd dbname option to cetus and gpspilot. From Ron Parker.
robertl [Tue, 4 Mar 2003 17:12:19 +0000 (17:12 +0000)]
Add dbname option to cetus and gpspilot.   From Ron Parker.

23 years agobump version
robertl [Sun, 2 Mar 2003 03:26:26 +0000 (03:26 +0000)]
bump version

23 years agoBe less aggressive in rebuilding internal styles.
robertl [Sun, 2 Mar 2003 03:23:20 +0000 (03:23 +0000)]
Be less aggressive in rebuilding internal styles.

23 years agoBump version for beta.
robertl [Sun, 2 Mar 2003 03:14:00 +0000 (03:14 +0000)]
Bump version for beta.

23 years agoBring in the changes to "finish" the XCSV stuff. This preprocesses the
robertl [Sun, 2 Mar 2003 01:41:45 +0000 (01:41 +0000)]
Bring in the changes to "finish" the XCSV stuff.  This preprocesses the
style directory and compiles it intot he binary, eliminating the *need*
(but keeping the *option*) of external style files.  It makes the style
entries look like first class citizens, showing up in help, menu option
output, and such.

This is the result of some ping-ponging with Alex...

: Modified Files:
:  Makefile csv_util.h defs.h gcdb.c internal_styles.c mkstyle.sh
:  vecs.c xcsv.c style/README.style style/csv.style
:  style/custom.style style/dna.style style/gpsdrive.style
:  style/gpsman.style style/mxf.style style/nima.style
:  style/ozi.style style/s_and_t.style style/tiger.style
:  style/xmap.style
: Removed Files:
:  csv.c dna.c gpsman.c mxf.c ozi.c tiger.c

23 years agoFrom Ron Parker:
robertl [Thu, 27 Feb 2003 19:06:19 +0000 (19:06 +0000)]
From Ron Parker:
1) upgrades the XML time parser to be more robust.  It now recognizes and
   correctly parses non-Zulu timestamps and timestamps with fractional
   seconds (which are truncated rather than rounded, but a motivated coder
   with time on his hands could change that.)
2) adds a field "exported" to struct geocache_data and fills it in with
   the appropriate value (the value from the groundspeak:exported tag on
   the waypoint if one exists, else the timestamp from the gpx/time element.)
3) adds (or replaces) the groundspeak:exported tag on output for any waypoint
   that contains a groundspeak:cache element.
4) adds the gpx/time element to any output GPX file, using the current time.
5) modifies the duplicate filter to prefer throwing away waypoints with older
   or unspecified "exported" dates over those with newer dates.

23 years agoSketch in what trackpoint writing might look like...
robertl [Tue, 25 Feb 2003 23:17:06 +0000 (23:17 +0000)]
Sketch in what trackpoint writing might look like...

23 years agoMention -x in usage.
robertl [Tue, 25 Feb 2003 21:17:51 +0000 (21:17 +0000)]
Mention -x in usage.

23 years agoFix tests for polarity of coords on output.
robertl [Tue, 25 Feb 2003 19:04:45 +0000 (19:04 +0000)]
Fix tests for polarity of coords on output.

23 years agoMagnav shortnames are really 9 bytes, not 20, per Gary Paulson.
robertl [Mon, 24 Feb 2003 18:31:56 +0000 (18:31 +0000)]
Magnav shortnames are really 9 bytes, not 20, per Gary Paulson.

23 years agoMapsend: support icon #'s above 26.
robertl [Sun, 23 Feb 2003 23:08:00 +0000 (23:08 +0000)]
Mapsend: support icon #'s above 26.
GPX: Don't trigger on names of travel bugs.

23 years agoFix warning.
robertl [Sun, 23 Feb 2003 01:24:11 +0000 (01:24 +0000)]
Fix warning.

23 years agoGeo geocache icon mappings on input.
robertl [Sun, 23 Feb 2003 01:23:40 +0000 (01:23 +0000)]
Geo geocache icon mappings on input.

23 years agolast_rx_csum is unsigned.
robertl [Sun, 23 Feb 2003 01:22:51 +0000 (01:22 +0000)]
last_rx_csum is unsigned.

23 years ago(Blindly) Add shortname support to magnav.
robertl [Fri, 21 Feb 2003 14:42:06 +0000 (14:42 +0000)]
(Blindly) Add shortname support to magnav.

23 years agoAdd deficon, geocache icon generation capabilities, and lookup of icons
robertl [Thu, 20 Feb 2003 15:55:05 +0000 (15:55 +0000)]
Add deficon, geocache icon generation capabilities, and lookup of icons
from mapsource tables.

23 years agoAdd full icon mapping table for >4.07 mapsource. From Ken Leidner.
robertl [Thu, 20 Feb 2003 15:53:34 +0000 (15:53 +0000)]
Add full icon mapping table for >4.07 mapsource.  From Ken Leidner.

23 years agomove cache type -> icon recognition into common code.
robertl [Thu, 20 Feb 2003 15:44:05 +0000 (15:44 +0000)]
move cache type -> icon recognition into common code.

23 years agoUse more language-conformant string concatenation.
robertl [Tue, 18 Feb 2003 19:44:35 +0000 (19:44 +0000)]
Use more language-conformant string concatenation.

23 years agoUpdate version to 2/12
robertl [Wed, 12 Feb 2003 22:43:19 +0000 (22:43 +0000)]
Update version to 2/12

23 years agoAdd scaffolding for internalizing styles.
robertl [Wed, 12 Feb 2003 17:08:40 +0000 (17:08 +0000)]
Add scaffolding for internalizing styles.

23 years agoMechanically hoist line parsing into function of its own.
robertl [Wed, 12 Feb 2003 15:58:57 +0000 (15:58 +0000)]
Mechanically hoist line parsing into function of its own.

23 years agoAdd gsshortnames option to GPX input.
robertl [Wed, 12 Feb 2003 15:16:39 +0000 (15:16 +0000)]
Add gsshortnames option to GPX input.

23 years agoFix up filter wreckage I introduced with new arg parsing. From Mottram.
robertl [Wed, 12 Feb 2003 03:45:22 +0000 (03:45 +0000)]
Fix up filter wreckage I introduced with new arg parsing.  From Mottram.

23 years agoMultitude of memory "leaks" fixed. From Ron Parker.
robertl [Tue, 11 Feb 2003 19:47:45 +0000 (19:47 +0000)]
Multitude of memory "leaks" fixed.   From Ron Parker.

23 years agoFix formatting of extended help.
robertl [Mon, 10 Feb 2003 21:37:40 +0000 (21:37 +0000)]
Fix formatting of extended help.
Fix csv so prefer_shortnames appears in appropriate table.

23 years agoHash and compare are now case insenstitive - this is to compensate for
robertl [Mon, 10 Feb 2003 19:47:29 +0000 (19:47 +0000)]
Hash and compare are now case insenstitive - this is to compensate for
mapsource which will not let you have both ThisName and Thisname.

23 years agoproto xrealloc.
robertl [Mon, 10 Feb 2003 19:46:34 +0000 (19:46 +0000)]
proto xrealloc.